﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Microhard.ApproveFlowDesigner
{
    public partial class Mainfrm : Form
    {
        public Mainfrm()
        {
            InitializeComponent();
        }

        private void tsmiFlowType_Click(object sender, EventArgs e)
        {
            if (!frmFlowType.IsShow)
            {
                frmFlowType fft = new frmFlowType();
                frmFlowType.IsShow = true;
                fft.MdiParent = this;
                fft.Show();
            }
        }

        private void tsmiFlowDetail_Click(object sender, EventArgs e)
        {
            if (!frmFlowDetail.IsShow)
            {
                frmFlowDetail fft = new frmFlowDetail();
                frmFlowDetail.IsShow = true;
                fft.MdiParent = this;
                fft.Show();
            }
        }
    }
}
